minor modifications to platform.h to make it C++-friendly
authorRazvan Cojocaru <rcojocaru@bitdefender.com>
Thu, 26 Feb 2015 12:57:34 +0000 (13:57 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Feb 2015 12:57:34 +0000 (13:57 +0100)
commitd0a1403bfbb7e2f6c73ecaf4d3e8ece228c8d9ed
tree721fc0c84c013e0aef5ec33e57db12d2f4be1fb5
parenta3214b4b9979320249b46d12d857a5a66cbcb49e
minor modifications to platform.h to make it C++-friendly

Moved the definition of struct xenpf_efi_guid and struct
xenpf_efi_time to file scope to avoid compilation errors with C++
(structs defined inside unnamed structs become unavailable
outside their scope with C++). The change allows C++ applications
to use platform.h with no consequences for current C clients.

Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
xen/include/public/platform.h